
float getWeight(){
	float parcelWeight;
	printf("What is the weight of your parcel in kg?\n");
	scanf("%g", &parcelWeight);
	return parcelWeight;
}

void printResponse(float parcelWeight, float price){
	printf("Your parcel of %g kg will cost $%.2f to deliver.\n", parcelWeight, price);
}

int inquireContinuation(){
	char goAgain;
	printf("Would you like price another parcel? y or n\n");
	scanf("\n%c", &goAgain);
	printf("\n");     
	return (goAgain == 'n'); //returns true if user inputs n
}
